package com.bestow.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 币种对象 fnd_currency
 * 
 * @author liliu
 * @date 2022-09-02
 */
public class FndCurrency extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 币种 */
    @Excel(name = "币种")
    private String currencyCode;

    /** 币种名称 */
    @Excel(name = "币种名称")
    private String currencyName;

    /** 启用标志 */
    @Excel(name = "启用标志")
    private String enabledFlag;

    /** 财务精度 */
    @Excel(name = "财务精度")
    private Long financePrecision;

    /** 货币符号 */
    @Excel(name = "货币符号")
    private String currencySymbol;

    public void setCurrencyCode(String currencyCode) 
    {
        this.currencyCode = currencyCode;
    }

    public String getCurrencyCode() 
    {
        return currencyCode;
    }
    public void setCurrencyName(String currencyName) 
    {
        this.currencyName = currencyName;
    }

    public String getCurrencyName() 
    {
        return currencyName;
    }
    public void setEnabledFlag(String enabledFlag) 
    {
        this.enabledFlag = enabledFlag;
    }

    public String getEnabledFlag() 
    {
        return enabledFlag;
    }
    public void setFinancePrecision(Long financePrecision) 
    {
        this.financePrecision = financePrecision;
    }

    public Long getFinancePrecision() 
    {
        return financePrecision;
    }
    public void setCurrencySymbol(String currencySymbol) 
    {
        this.currencySymbol = currencySymbol;
    }

    public String getCurrencySymbol() 
    {
        return currencySymbol;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("currencyCode", getCurrencyCode())
            .append("currencyName", getCurrencyName())
            .append("enabledFlag", getEnabledFlag())
            .append("financePrecision", getFinancePrecision())
            .append("currencySymbol", getCurrencySymbol())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
